package com.ailesson.video.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import com.ailesson.common.base.BaseEntity;

/**
 * 视频来访者记录表
 * 
 * @author mac
 * @email mac@gmail.com
 * @date 2024-10-02 10:31:00
 */
@Data
@TableName("ail_video_visitor")
public class VideoVisitorEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
    @TableId
    private Long id;
	/**
	 * 课程id
	 */
    private Long courseId;
	/**
	 * 视频id
	 */
    private Long videoId;
	/**
	 * 来访者用户id
	 */
    private String userId;
	/**
	 * 昵称
	 */
    private String nickName;
	/**
	 * 进入时间
	 */
    private String joinTime;
	/**
	 * 离开的时间
	 */
    private String leaveTime;
	/**
	 * 用户停留的时间(单位：秒)
	 */
    private Long duration;
}
